package com.changgou.oauth.service;

import org.springframework.http.ResponseEntity;

import java.util.Map;

public interface UserLoginService {
    /**
     * 密码模式登录实现
     * @param username
     * @param password
     * @param grant_type
     * @param clientId
     * @param clientSecret
     */
    ResponseEntity<Map> login(String username, String password, String grant_type, String clientId, String clientSecret) throws Exception;
}
